package test.proxy;

public class TargetObj implements TargetobjI{
	
	private int id;
	private String name;
	
	public TargetObj() {}
	
	
	public void usedForProxyMethod(){
		System.out.println("used");
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}


	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}


	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	@Override
	public String m() {
		System.out.println("method m is invoked");
		return "method m";
	}
}
